﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmallTool.Model
{
    public class SelectSQLModel
    {
        public SelectSQLModel() { }
        public SelectSQLModel(string _id, string _sql)
        {
            this.ID = _id;
            this.SelectSQL = _sql;
            this.SQLName = string.Empty;
        }
        public SelectSQLModel(string _id, string _sql, string _sqlName)
        {
            this.ID = _id;
            this.SelectSQL = _sql;
            this.SQLName = _sqlName;
        }
        /// <summary>
        /// 标识
        /// </summary>
        public string ID { get; set; }
        /// <summary>
        /// 查询语句
        /// </summary>
        public string SelectSQL { get; set; }
        /// <summary>
        /// 查询语句注释
        /// </summary>
        public string SQLName { get; set; }
    }
}
